<template>
    <div class="manageClass">
        <el-dialog
        :title="el_title"
        :visible.sync="el_dialogVisible"
        :before-close="closedialog"
        width="800px">
            <slot name="content"></slot>
            <span slot="footer" class="dialog-footer">
                <slot name="dialogButton">
                    <el-button @click="closedialog" size="small">取 消</el-button>
                    <el-button type="primary" @click="closedialog" size="small">确 定</el-button>
                </slot>
            </span>
        </el-dialog>
    </div>
    
</template>
<script>
export default {
    name:"managePublicDialog",
    props:{
        el_title:[String],
        el_dialogVisible:{
            type:Boolean,
            default:false
        },
    },
    methods:{
        closedialog(){
            this.$emit("el-closedialog",false)
        }
    }
    
}
</script>
